Packetery\Module\Plugin A

Total Complexity 60
Dependencies 46
Dependents 5
Total lines 847
Lines of code 387
Logical lines of code 200
Comment lines 137
Methods 25
Properties 26

Methods 25

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
A
51 11 23
run()
S
39 3 71
activate()
S
48 4 35
render_email_footer()
S
48 4 32
renderOrderDetail()
S
51 4 27
uninstall()
S
56 4 17
renderDeliveryDetail()
S
49 2 31
hideSubmenuItem()
S
63 4 10
echoInactiveWooCommerceNotice()
S
61 2 14
__construct()
S
50 1 28
addPluginRowMeta()
S
64 2 9
loadTranslation()
S
63 2 10
getLocale()
S
69 2 7
enqueueFrontAssets()
S
66 2 8
shouldDisplayPickupPointInfo()
S
79 2 3
transformGetOrdersQuery()
S
70 2 6
add_menu_pages()
S
70 1 7
buildAssetUrl()
S
70 1 5
enqueueStyle()
S
67 1 8
init()
S
65 1 10
enqueueScript()
S
66 1 9
addPluginActionLinks()
S
66 1 7
add_shipping_method()
S
76 1 4
isWooCommercePluginActive()
S
77 1 3
getAppIdentity()
S
77 1 3